
Page({
  data:{

  },
  onShow: function () {
    wx.setKeepScreenOn({keepScreenOn: true});//常亮

  },
  onHide: function () { 
    wx.setKeepScreenOn({keepScreenOn: false});//关闭常亮   

  },
    
})